<template>
  <view>

  </view>
</template>

<script>
  import {
    mapActions
  } from 'vuex'
  export default {
    data() {
      return {

      };
    },
    onLoad() {
      this.getOrders().then(res => {
        console.log('get orders', res)
      })
    },
    methods: {
      ...mapActions({
        getOrders: "getOrders"
      })
    }
  }
</script>

<style lang="stylus">

</style>
